exam="AABCDEFGHHIJ"
print(exam[1:-3])